package com.snack.entity.admin;

import com.snack.entity.BasicEntity;

/**
 * 操作权限控制实体
 * 
 * @author codemonkey
 * 
 */
public class Control extends BasicEntity {

	/**
	 * 操作名称
	 */
	private String name;

	/**
	 * 访问路径
	 */
	private String path;

	/**
	 * 角色id
	 */
	private int roleId;

	public Control() {
		super();
	}

	public Control(String name, String path, int roleId) {
		super();
		this.name = name;
		this.path = path;
		this.roleId = roleId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

}
